<ul class="nav nav-tabs" ng-init="checkarray(pagedata.item,'tabs')">
	<li ng-repeat="tab in pagedata.item.tabs"><a href="javascript:;" ng-click="pagedata.edit_tab(tab)">{{tab.title}}</a><em class="jy-close" href="javascript:;" ng-click="pagedata.item.tabs.splice($index,1)">×</em></li>
	<li><a href="javascript:;" ng-click="i=pagedata.item.tabs.push({'title':'导航名称'});pagedata.edit_tab(pagedata.item.tabs[i-1])"><i class="fa fa-plus"></i>添加导航</a></li>
</ul>
<div class="panel panel-default form-horizontal">
	<div class="panel-heading" ng-click="pagedata.edit(pagedata.item,'desc','提示信息')">{{pagedata.item.desc}}</div>
	<div class="panel-body">
		<div ng-repeat="seh in pagedata.item.list" ng-include="sys_html('app_develop/plugin/show_edit/show/'+pagedata.field_types[pagedata.fields[seh.name].leixing].type)"></div>
		<div class="pull-left col-xs-12 col-sm-3 col-md-2 col-lg-2" ng-click="i=pagedata.item.list.push({'title':'项目名称'});pagedata.edit_form(pagedata.item.list[i-1])">
			<button class="btn btn-primary"><i class="fa fa-plus"></i>添加一个展示项</button>
		</div>
	</div>
</div>
<!-- 页面基本参数设置-->
<div id="floating-content-edit_form"  class="modal fade"  tabindex="-1" style="z-index:2000;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置表单项参数</h3></div>
			<div class="modal-body">
				<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 left-label">项目名称</label>
						<div class="col-xs-12 col-sm-8 col-lg-9">
							<input type="text" class="form-control " ng-model="pagedata.current_search.title"  />
							<div class="help-block">位于输入框左侧</div>
						</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">选择字段</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<select class="form-control" ng-model="pagedata.current_search.name">
							<option value="" selected>请选择编辑字段</option>
							<option ng-repeat="field in pagedata.fields" ng-selected="pagedata.current_search.name==field.name" value="{{field.name}}" >{{field.title}}</option>
						</select>
						<div class="help-block"></div>
					</div>
				</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class=" btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<script>
scope.pagedata.edit_form=function(seh){
	scope.pagedata.current_search=seh;
	window.bootstrap('#floating-content-edit_form').modal();
}
</script>